package net.zjitc.service;

import net.zjitc.pojo.Products;
import net.zjitc.vo.ProductVo;
import net.zjitc.vo.Searchvo;

import java.util.List;

/**
 * @Author admin
 * @Date 2019/4/4 8:13
 */
public interface ProductService {
    List<Products> findAll();

    int add(Products products);

    void delete(String id);

    Products findById(String id);
    List<Products> search(ProductVo productVo);
    int update(Products products);
    Products findBy_pid(String id);

        List<Products> finBycid(Integer id);

    List<Products> SearchProduct(Searchvo vo);

    List<Products> findHot(String day);
}
